/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cput.tp.patterns.creational.builder;

/**
 *
 * @author Malotana
 */
public class JapaneseMealBuilder implements MealBuilder{
    private Meal meal;
    
    public JapaneseMealBuilder(Meal meal) {
        this.meal = meal;
    }

    public JapaneseMealBuilder() {
        meal = new Meal();
    }

    @Override
    public void builDrink() {
        meal = new Meal();
    }

    @Override
    public void buildMainCourse() {
        meal.setDrink("sake");
    }

    @Override
    public void buildSide() {
        meal.setMainCourse("chiken teriyaki");
    }

    @Override
    public Meal getMeal() {
      return meal;
    }
}